<div class="top navbar-fixed-top" role="header">
  <div class="container">
    <a href="#" class="navbar-brand pull-left">
      隐患排查
    </a>
    <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
      <span class="glyphicon glyphicon-align-justify"></span>
    </button>
    <nav class="navbar-collapse collapse" role="navigation">
      <ul class="navbar-nav nav">
        <li><a href="#/">首页工作提醒</a></li>
      </ul>
      <!--<form class="navbar-form navbar-left" role="search" style="padding-top: 5px">-->
      <!--<div class="form-group">-->
      <!--<input type="text" class="form-control input-sm" placeholder="搜索你感兴趣的事情">-->
      <!--</div>-->
      <!--<button type="submit" class="btn btn-sm">搜索</button>-->
      <!--</form>-->
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#/logout">退出</a></li>
      </ul>
    </nav>
  </div>
</div>
<!-- Middle content section -->
<div class="middle">
  <div class="container">
    <tabset>
      <tab heading="企业基本信息">
        <div class="row">
          <div class="box col-md-12">
            <div class="box-inner">
              <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-th"></i>单位基本信息</h2>

                <!--<div class="box-icon jiben">-->
                  <!--<a ng-href="#/" class="btn btn-edit btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-edit"></i></a>-->
                  <!--<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-ok"></i></a>-->
                  <!--<a class="btn btn-minimize btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                <!--</div>-->
              </div>
              <div class="box-content">
                <div class="row jiben">
                  <div class="col-md-4"><strong>企业名称</strong>
                    <p>
                      <small id="qymc">{{baseInfo.qymc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>工商营业执照号</strong>
                    <p>
                      <small id="gsyyzzh">{{baseInfo.gsyyzzh}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>组织机构代码</strong>
                    <p>
                      <small id="zzjgdm">{{baseInfo.zzjgdm}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>法人代表</strong>
                    <p>
                      <small id="qyfr">{{baseInfo.qyfr}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>法人代表身份证</strong>
                    <p>
                      <small id="frsfz">{{baseInfo.frsfz}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>代表人联系电话</strong>
                    <p>
                      <small id="frdh">{{baseInfo.frdh}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>隐患排查部门负责人</strong>
                    <p>
                      <small id="yhpcbmfzr">{{baseInfo.yhpcbmfzr}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>负责人电话</strong>
                    <p>
                      <small id="fzrdh">{{baseInfo.fzrdh}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>负责人移动电话</strong>
                    <p>
                      <small id="aqfzryddhhm">{{baseInfo.aqfzryddhhm}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>经营范围</strong>
                    <p>
                      <small id="zyjyxm">{{baseInfo.zyjyxm}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>企业成立日期</strong>

                    <p>
                      <small id="dwclrq">{{baseInfo.dwclrq}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>经营期限</strong>
                    <p>
                      <small id="yyqx">{{baseInfo.yyqx}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>所属辖区</strong>
                    <p>
                      <small id="ssxq">{{baseInfo.shi.xqmc + '-' + baseInfo.quxian.xqmc + '-' + baseInfo.zhenjie.xqmc + '-' + baseInfo.shequ.xqmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>注册地址</strong>
                    <p>
                      <small id="zcdz">{{baseInfo.zcdz}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>邮政编码</strong>
                    <p>
                      <small id="qyyb">{{baseInfo.qyyb}}</small>
                    </p>
                  </div>
                <div class="col-md-4"><strong>固定资产（万元）</strong>
                  <p>
                    <small id="gdzc">{{baseInfo.gdzc}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>年营业额（万元）</strong>
                  <p>
                    <small id="nyye">{{baseInfo.nyye}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>注册资金（万元）</strong>
                  <p>
                    <small id="zczb">{{baseInfo.zczb}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>从业人员数量</strong>
                  <p>
                    <small id="cyrs">{{baseInfo.cyrs}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>企业位置经度</strong>
                  <p>
                    <small id="qywzjd">{{baseInfo.qywzjd}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>企业位置纬度</strong>
                  <p>
                    <small id="qywzwd">{{baseInfo.qywzwd}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>联系人</strong>
                  <p>
                    <small id="lxr">{{baseInfo.lxr}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>联系人电话</strong>
                  <p>
                    <small id="dwlxdh">{{baseInfo.dwlxdh}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>联系人Email</strong>
                  <p>
                    <small id="qyyx">{{baseInfo.qyyx}}</small>
                  </p>
                </div>
                <div class="col-md-4"><strong>企业状态</strong>
                  <p>
                    <small id="qyzt">
                      <span ng-if="baseInfo.qyzt == 0" class="animate-if">
                        关闭
                      </span>
                      <span ng-if="baseInfo.qyzt == 1" class="animate-if">
                        运营
                      </span>
                      <span ng-if="baseInfo.qyzt == 2" class="animate-if">
                        注销
                      </span>
                    </small>
                  </p>
                </div>
                </div>
              </div>
            </div>
          </div>
          <!--/span-->
        </div>
        <div class="row">
          <div class="box col-md-6">
            <div class="box-inner">
              <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-th"></i>上级单位</h2>

                <!--<div class="box-icon sjdw">-->
                  <!--<a href="#" class="btn btn-edit btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-edit"></i></a>-->
                  <!--<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-ok"></i></a>-->
                  <!--<a href="#" class="btn btn-minimize btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                <!--</div>-->
              </div>
              <div class="box-content">
                <div class="row sjdw">
                  <div class="col-md-4"><strong>上级单位名称</strong>
                    <p>
                      <small id="sjdwqyInfo.qymc">{{sjdwqyInfo.qymc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>上级单位组织机构代码</strong>
                    <p>
                      <small id="sjdwqyInfo.zzjgdm">{{sjdwqyInfo.zzjgdm}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>上级单位工商营业执照号</strong>
                    <p>
                      <small id="sjdwqyInfo.gsyyzzh">{{sjdwqyInfo.gsyyzzh}}</small>
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--/span-->

          <div class="box col-md-6">
            <div class="box-inner">
              <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-th"></i>企业分类</h2>

                <!--<div class="box-icon">-->
                  <!--<a ng-href="#/" class="btn btn-edit btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-edit"></i></a>-->
                  <!--<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-ok"></i></a>-->
                  <!--<a href="#" class="btn btn-minimize btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                  <!--&lt;!&ndash;<a href="#" class="btn btn-close btn-round btn-default"><i&ndash;&gt;-->
                  <!--&lt;!&ndash;class="glyphicon glyphicon-remove"></i></a>&ndash;&gt;-->
                <!--</div>-->
              </div>
              <div class="box-content">
                <div class="row">
                  <div class="col-md-4"><strong>隐患行业分类</strong>
                    <p>
                      <small id="sysIndustryClassified">{{baseInfo.sysIndustryClassified.hyflmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>监管分类</strong>
                    <p>
                      <small id="jgfl">{{baseInfo.jgfl}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>行业主管部门</strong>
                    <p>
                      <small id="hyzgbm">{{baseInfo.hyzgbm.bmlbmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>指导管理部门</strong>
                    <p>
                      <small id="zdglbmlbHZ">{{baseInfo.zdglbmlbHZ}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>经济类型</strong>
                    <p>
                      <small id="sysEconomicType">{{baseInfo.sysEconomicType.jjlxmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>企业规模</strong>
                    <p>
                      <small id="sysEntScale">{{baseInfo.sysEntScale.qygmmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>企业所属地类型</strong>
                    <p>
                      <small id="sysEntAdminSubordRelation">{{baseInfo.sysEntAdminSubordRelation.xzlsgxmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>经济性质</strong>
                    <p>
                      <small id="sysEconomicNature">{{baseInfo.sysEconomicNature.jjxzmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>注册登记类型</strong>
                    <p>
                      <small id="sysRegistrationType">{{baseInfo.sysRegistrationType.djzclxmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>规模情况</strong>
                    <p>
                      <small id="sysScaleSituation">{{baseInfo.sysScaleSituation.gmqkmc}}</small>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>企业类型</strong>
                    <p>
                      <span ng-if="baseInfo.qylxxx == 0" class="animate-if">
                        一般企业
                      </span>
                      <span ng-if="baseInfo.qylxxx == 1" class="animate-if">
                        有实体集团企业
                      </span>
                      <span ng-if="baseInfo.qylxxx == 2" class="animate-if">
                        无实体集团企业
                      </span>
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--/span-->

          <div class="box col-md-6">
            <div class="box-inner">
              <div class="box-header well" data-original-title="">
                <h2><i class="glyphicon glyphicon-th"></i>危险特性</h2>

                <!--<div class="box-icon">-->
                  <!--<a ng-href="#/" class="btn btn-edit btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-edit"></i>-->
                    <!--<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i-->
                      <!--class="glyphicon glyphicon-ok"></i></a>-->
                  <!--<a href="#" class="btn btn-minimize btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                  <!--&lt;!&ndash;<a href="#" class="btn btn-close btn-round btn-default"><i&ndash;&gt;-->
                  <!--&lt;!&ndash;class="glyphicon glyphicon-remove"></i></a>&ndash;&gt;-->
                <!--</div>-->
              </div>
              <div class="box-content">
                <div class="row">
                  <div class="col-md-4"><strong>是否是重大危险源企业</strong>
                    <p>
                      <span ng-if="baseInfo.sfzdwxy == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sfzdwxy == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>是否涉及危险化学品、工艺</strong>
                    <p>
                      <span ng-if="baseInfo.sfwhpsy == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sfwhpsy == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>是否涉危险物品</strong>
                    <p>
                      <span ng-if="baseInfo.sfwhpzdjk == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sfwhpzdjk == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>是否使用特种设备</strong>
                    <p>
                      <span ng-if="baseInfo.sftzsb == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sftzsb == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>是否使用危险设备</strong>
                    <p>
                      <span ng-if="baseInfo.sfwxsb == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sfwxsb == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                  <div class="col-md-4"><strong>是否存在职业病危害因素</strong>
                    <p>
                      <span ng-if="baseInfo.sfyzyb == 0" class="animate-if">
                        否
                      </span>
                      <span ng-if="baseInfo.sfyzyb == 1" class="animate-if">
                        是
                      </span>
                    </p>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <!--/span-->
        </div>
      </tab>
      <!--<tab heading="单位生产安全管理信息">-->
          <!--<div class="row">-->
            <!--<div class="box col-md-12">-->
              <!--<div class="box-inner">-->
                <!--<div class="box-header well" data-original-title="">-->
                  <!--<h2><i class="glyphicon glyphicon-th"></i>基本项目</h2>-->

                  <!--<div class="box-icon">-->
                    <!--<a href="#" class="btn btn-edit btn-round btn-default"><i-->
                      <!--class="glyphicon glyphicon-edit"></i></a>-->
                    <!--<a href="#" class="btn btn-minimize btn-round btn-default"><i-->
                      <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                  <!--</div>-->
                <!--</div>-->
                <!--<div class="box-content">-->
                  <!--<div class="row jiben">-->
                    <!--<div class="col-md-4"><strong>安全生产第一责任人</strong>-->
                      <!--<p>-->
                        <!--<small>{{baseInfo.qymc}}</small>-->
                      <!--</p>-->
                    <!--</div>-->
                  <!--</div>-->
                <!--</div>-->
              <!--</div>-->
            <!--</div>-->
            <!--&lt;!&ndash;/span&ndash;&gt;-->
          <!--</div>-->
          <!--&lt;!&ndash;/row&ndash;&gt;-->

      <!--</tab>-->
      <!--<tab heading="奖罚情况">jiangfaqingkuang</tab>-->
      <!--<tab heading="审核">-->
        <!--<div class="row">-->
          <!--<div class="box col-md-12">-->
            <!--<div class="box-inner">-->
              <!--<div class="box-header well" data-original-title="">-->
                <!--<h2><i class="glyphicon glyphicon-th"></i>审核</h2>-->

                <!--<div class="box-icon">-->
                  <!--<a href="#" class="btn btn-edit btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-edit"></i></a>-->
                  <!--<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-ok"></i></a>-->
                  <!--<a href="#" class="btn btn-minimize btn-round btn-default"><i-->
                    <!--class="glyphicon glyphicon-chevron-up"></i></a>-->
                <!--</div>-->
              <!--</div>-->
              <!--<textarea name="shenhe" id="shenhe" cols="30" rows="10" class="form-control" placeholder="请填写审核意见..."></textarea>-->
            <!--</div>-->
          <!--</div>-->
          <!--&lt;!&ndash;/span&ndash;&gt;-->
        <!--</div>-->
        <!--&lt;!&ndash;/row&ndash;&gt;-->
      <!--</tab>-->
      <!--<tab heading="历史流水信息">-->
        <!--<div class="row">-->
          <!--<div class="box col-md-12">-->
            <!--<div class="box-inner">-->
              <!--<div class="box-header well" data-original-title="">-->
                <!--<h2><i class="glyphicon glyphicon-th"></i>历史信息</h2>-->

                <!--&lt;!&ndash;<div class="box-icon">&ndash;&gt;-->
                  <!--&lt;!&ndash;<a href="#" class="btn btn-edit btn-round btn-default"><i&ndash;&gt;-->
                    <!--&lt;!&ndash;class="glyphicon glyphicon-edit"></i></a>&ndash;&gt;-->
                  <!--&lt;!&ndash;<a href="#" class="btn btn-saveOrUpdate btn-round btn-default"><i&ndash;&gt;-->
                    <!--&lt;!&ndash;class="glyphicon glyphicon-ok"></i></a>&ndash;&gt;-->
                  <!--&lt;!&ndash;<a href="#" class="btn btn-minimize btn-round btn-default"><i&ndash;&gt;-->
                    <!--&lt;!&ndash;class="glyphicon glyphicon-chevron-up"></i></a>&ndash;&gt;-->
                <!--&lt;!&ndash;</div>&ndash;&gt;-->

              <!--</div>-->
              <!--<div class="row-fluid">-->
                <!--<div class="col-md-12">-->
                  <!--<ul class="timeline">-->

                    <!--<li>-->
                      <!--<div class="timeline-badge">2014/12/28</div>-->
                      <!--<div class="timeline-panel">-->
                        <!--<div class="timeline-heading">-->
                          <!--<h4 class="timeline-title">企业基本信息审核</h4>-->
                        <!--</div>-->
                        <!--<div class="timeline-body">-->
                          <!--<p>企业基本信息审核，同意</p>-->
                          <!--<p>天河街中队</p>-->
                        <!--</div>-->
                      <!--</div>-->
                    <!--</li>-->

                    <!--<li class="timeline-inverted">-->
                      <!--<div class="timeline-badge">2015/01/03</div>-->
                      <!--<div class="timeline-panel">-->
                        <!--<div class="timeline-heading">-->
                          <!--<h4 class="timeline-title">企业基本信息修改</h4>-->
                        <!--</div>-->
                        <!--<div class="timeline-body">-->
                          <!--<p>市安监局</p>-->
                        <!--</div>-->
                      <!--</div>-->
                    <!--</li>-->
                  <!--</ul>-->
                <!--</div>-->
              <!--</div>-->
            <!--</div>-->
          <!--</div>-->
          <!--&lt;!&ndash;/span&ndash;&gt;-->
        <!--</div>-->
        <!--&lt;!&ndash;/row&ndash;&gt;-->
      <!--</tab>-->
    </tabset>

  </div>
</div>
<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span
          class="sr-only">Close</span></button>
        <h4 class="modal-title" id="myModalLabel">经营范围</h4>
      </div>
      <div class="modal-body">
        <textarea name="" id="" class="col-md-4 form-control" rows="3"></textarea>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary">Save changes</button>
      </div>
    </div>
  </div>
</div>

<div class="modal fade" id="sjdwmcModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span
          class="sr-only">Close</span></button>
        <h4 class="modal-title" id="sjdwmcTitile">上级单位名称</h4>
      </div>
      <div class="modal-body" >
        <div class="input-group">
          <input type="text" class="form-control" ng-model="queryStr" name="queryStr">
                      <span class="input-group-btn">
                        <button class="btn btn-default" type="button" ng-click="queryGroup(queryStr)">查询</button>
                      </span>
        </div>
        <!-- /input-group -->            </div>
      <table class="table">
        <tr>
          <th>名称</th>
          <th>操作</th>
        </tr>
        <tr ng-repeat="baseInfo in baseInfos">
          <td>{{baseInfo.qymc}}</td>
          <td><button class="btn btn-info btn-sm" ng-click="getGroupQy(baseInfo.qymc)">选择</button></td>
        </tr>
      </table>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>
